#include <iostream>
#include "heapsort.h"

using std::cout;
using std::endl;



int main() {
	int a[10] = {16,33,89,14,75,3,2,1,0};
	build_max_heap(a,9);
	heapsort(a,9);
	print_array(a,9);
	return 0;
}